<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>搜事网-处理规则1[网页]</title>
<!-- 引用文件:start-->
<jsp:include page="includes.jsp" />
<%@ page language="java" contentType="text/html;charset=UTF-8"
	import="java.util.*" pageEncoding="utf-8"%>
<%@ taglib prefix="s" uri="/struts-tags"%>
<!-- 引用文件:end-->
</head>
<body>
	<div class="wrap">
		<!-- header:start -->
		<jsp:include page="banner.jsp" />
		<!-- header:end -->
		<div id="body">
			<div id="left" class="wrap">
				<h1 class="page">
					<span>编辑抽取规则</span>
				</h1>
				<div class="main lside176">
					<jsp:include page="left_banner.jsp" />
					<div class="middle w804">
						<div id="left" class="w804">
							<div class="main">
								<div class="topbox">
									<div class="tabs">
										<a href="listSource.do"><span>媒体源管理</span></a> <a
											href="listSourceCategory.do"><span>媒体分组管理</span></a>
									</div>
								</div>
								<div class="tabContent">
									<div class="listForm">
										<form action="updateTemplate.do">
											<br /> <br /> <br />
											
											<fieldset>
												<legend>抽取规则</legend>
												<table>
													<tr>
														<td>正文：</td>
														<td><s:textfield name="content" theme="simple"
																size="30"></s:textfield></td>
													</tr>
													<tr>
														<td>标题：</td>
														<td><s:textfield name="title" theme="simple"
																size="30"></s:textfield></td>
													</tr>
													<tr>
														<td>阅读数：</td>
														<td><s:textfield name="readNum" theme="simple"
																size="100"></s:textfield></td>
													</tr>
													<tr>
														<td>评论数：</td>
														<td><s:textfield name="commentNum" theme="simple"
																size="100"></s:textfield></td>
													</tr>
													<tr>
														<td>发布时间：</td>
														<td><s:textfield name="pubTime" theme="simple"
																size="100"></s:textfield></td>
													</tr>
													<tr>
														<td>作者：</td>
														<td><s:textfield name="author" theme="simple"
																size="100"></s:textfield></td>
													</tr>
													<tr>
														<td>IP：</td>
														<td><s:textfield name="ip" theme="simple" size="20"></s:textfield></td>
													</tr>
													<tr>
														<td></td>
														<td><s:if test="template==null">
																<input type="submit" value="新建"></input>
															</s:if> 
															<s:else>
																<input type="submit" value="保存"></input>
																</s:else>
															<input type="hidden" name="templateId"
															value="${template.id}" /> <!-- template id --></td>
													</tr>
												</table>
											</fieldset>
										</form>
										<br />
										<fieldset>
											<legend>测试</legend>
											<table>
												<tr>
													<td>内容页URL：</td>
													<td><input type="text" /></td>
												</tr>
												<tr>
													<td></td>
													<td><input type="button" value="开始测试 " /></td>
												</tr>
											</table>
										</fieldset>
									</div>
								</div>
							</div>
						</div>
					</div>
					<jsp:include page="footer.jsp" />

					<div class="clear"></div>
				</div>
			</div>
		</div>
	</div>



</body>
</html>
